﻿using System;
using KPIS.GERP.GIMS.MODEL;
using System.Collections.Generic;
using KPIS.DBM;

namespace KPIS.GERP.GIMS.IDAL
{
    public interface IDALMasterContactPartner
    {
        IList<MasterContactPartnerInfo> GetMasterContactPartner();
        IList<MasterContactPartnerInfo> GetMasterContactPartner(string record_status);
        MasterContactPartnerInfo GetMasterContactPartner(int seq);
        IList<MasterContactPartnerInfo> GetMasterContactPartnerWithParent(int contact_seq);
        void Insert(MasterContactPartnerInfo info);
        void Insert(IList<MasterContactPartnerInfo> infoList, int contact_seq, IDBManager dbManagerTrans);
        void Update(MasterContactPartnerInfo info);
        void Delete(MasterContactPartnerInfo info);
        void DeleteAll(IList<MasterContactPartnerInfo> infoList);
        void DeleteFromDB(IList<MasterContactPartnerInfo> infoList);
        void Restore(IList<MasterContactPartnerInfo> infoList);
    }
}
